﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="cg_Xmydcgjh.aspx.cs" Inherits="demo.Page.CG.cg_Xmydcgjh" %>


<%@ Register src="../../Controls/AssessmentExt.ascx" tagname="AssessmentExt" tagprefix="uc1" %>
<%@ Register src="../../Controls/Attachment.ascx" tagname="Attachment" tagprefix="uc2" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title><%=TaskAPI.Process %></title>
    <%=LinkCss %> 
</head>
<body>
    <form id="form1" runat="server">
    <%=Prefix %>

    <fieldset>
        <legend>基本信息</legend>
        <table cellpadding="0" cellspacing="0" width="100%">
        <tr>
            <td>单号：</td>
            <td colspan="5"><anthem:Label ID="ApplicationNo" runat="server"></anthem:Label></td>
        </tr>
        <tr>
            <td>填表日期：</td>
            <td colspan="5"><anthem:Label ID="Time" runat="server"></anthem:Label></td>
        </tr>
        <tr>
            <td>姓名：</td>
            <td><anthem:Label runat="server" ID ="UserFullName"></anthem:Label></td>
            <td></td>
            <td align="right">部门：</td>
               <td colspan="2"><anthem:Label runat="server" ID ="Department" Visible="false"></anthem:Label>
            <anthem:Label ID="DepEName" runat="server"></anthem:Label>
            </td>
        </tr>
        <tr>
            <td style="width:110px">电话：</td>
            <td style="width:150px"><anthem:Label runat="server" ID ="Tel"></anthem:Label></td>
            <td style="width:110px"></td>
            <td style="width:150px"></td>
            <td style="width:110px"></td>
            <td></td>
        </tr>
        <tr>
            <td>事项主题：<anthem:Image runat="server" ID="R_Subject" ImageUrl="~/Resource/Images/Icon_Required.gif" Width="14" Height="13" AutoUpdateAfterCallBack="true" /></td>
            <td colspan="5"><anthem:TextBox runat="server" ID="Subject" Width="400" /></td>
        </tr>                 
    </table>
    </fieldset>

    <fieldset>
    <legend>详细信息</legend>
    <table cellpadding="0" cellspacing="0" width="100%">
    <tr>
        <td style="width:110px">城市公司：<anthem:Image runat="server" ID="R_Csgs" ImageUrl="~/Resource/Images/Icon_Required.gif" Width="14" Height="13" AutoUpdateAfterCallBack="true" /></td>
        <td>
            <anthem:DropDownList ID="City" Width="110" runat="server"  AutoUpdateAfterCallBack="true" AutoCallBack="true"  EnableCallBack="true" OnTextChanged="City_TextChanged">
            </anthem:DropDownList>
        </td>
        <td style="width:110px">开发公司：<anthem:Image runat="server" ID="R_Gsgs" ImageUrl="~/Resource/Images/Icon_Required.gif" Width="14" Height="13" AutoUpdateAfterCallBack="true" /></td>
        <td colspan="3">
            <anthem:DropDownList ID="Gsgs"  Width="210" runat="server" AutoUpdateAfterCallBack="true" AutoCallBack="true" EnableCallBack="true" OnTextChanged="Gsgsbmkfgs_TextChanged">
            </anthem:DropDownList>
        </td>
        
    </tr>
    <tr>
        <td style="width:110px">项目名称<br />及分期：<anthem:Image runat="server" ID="R_Xmmc" ImageUrl="~/Resource/Images/Icon_Required.gif" Width="14" Height="13" AutoUpdateAfterCallBack="true" /></td>
        <td>
            <anthem:DropDownList ID="Xmmc"  Width="110"  runat="server" AutoUpdateAfterCallBack="true">
            </anthem:DropDownList>
        </td>
    </tr>

    
    <tr>
        <td style="width:110px">年份：<anthem:Image runat="server" ID="Image1" ImageUrl="~/Resource/Images/Icon_Required.gif" Width="14" Height="13" AutoUpdateAfterCallBack="true" /></td>
        <td>
            <anthem:DropDownList ID="Nf"  runat="server" AutoUpdateAfterCallBack="true">
            </anthem:DropDownList>
        </td>
        <td style="width:110px">月份：<anthem:Image runat="server" ID="Image2" ImageUrl="~/Resource/Images/Icon_Required.gif" Width="14" Height="13" AutoUpdateAfterCallBack="true" /></td>
        <td>
            <anthem:DropDownList ID="Yf" runat="server" AutoUpdateAfterCallBack="true">
            </anthem:DropDownList>
        </td>
    </tr>
    
    <tr>
        <td>有无月度采购计划:</td>
        <td colspan="5">
            <anthem:RadioButtonList ID="IsHaveCgjh" AutoCallBack="true"  AutoUpdateAfterCallBack="true" runat="server" RepeatDirection="Horizontal" Width="60" onselectedindexchanged="IsHaveCgjh_SelectedIndexChanged">
                <asp:ListItem Selected="True">有</asp:ListItem>
                <asp:ListItem>无</asp:ListItem>
            </anthem:RadioButtonList>
        </td>
    </tr>
    <tr>
    <td>延期原因:</td>
        <td colspan="3">
            <anthem:TextBox runat="server" ID="Ycyy" TextMode="MultiLine" Height="120px"></anthem:TextBox>
        </td>
    </tr>
    <tr>
        <td>说明：</td>
        <td colspan="3">
            <anthem:TextBox runat="server" ID="Sm" TextMode="MultiLine" Height="120px"></anthem:TextBox>
        </td>
    </tr>
    <tr>
        <td>附件上传:</td>
        <td colspan="3"><div style="width:500px;"><uc2:Attachment ID="Attachment1" FileClass="附件" runat="server" /></div></td>
    </tr>
    </table>
    </fieldset>
   
    <anthem:Panel ID="pl_cgjh" runat="server" AutoUpdateAfterCallBack="true">
    <fieldset>
    <legend>采购计划信息</legend>
    <table border="0" cellpadding="0" cellspacing="0">
            <tr>
                <td>
                    <anthem:Repeater ID="Details" runat="server" AutoUpdateAfterCallBack="true" onitemdatabound="Details_ItemDataBound" >
                        <HeaderTemplate>
                            <table width="100%" cellpadding="0" cellspacing="0" class="divTable">
                                <thead class="Title">
                                    <tr style="background:url(../../Resource/Images/Icon_TableTitle.gif) repeat; ">
                                        <td align="center" style="width:15px;<%=isCssShow %>"></td>
                                        <td align="center" style="width:120px;">材料名称</td>
                                        <td align="center" style="width:90px;">进场时间</td>
                                        <td align="center" style="width:70px;">数量</td>
                                        <td align="center" style="width:70px">数量单位</td>
                                        <td align="center" style="width:70px">使用房号</td>
                                        <td align="center" style="width:180px">备注</td>
                                    </tr>
                                </thead>
                        </HeaderTemplate>
                        <ItemTemplate>
                            <tr class="Item">
                                <td align="center" style="<%=isCssShow %>"><anthem:CheckBox ID="Cb_XZ" runat="server" alt='<%# Eval("No")%>' AutoUpdateAfterCallBack="true" /></td>
                                <td><anthem:TextBox ID="Clmc" runat="server" Text='<%# Eval("Clmc")%>' Width="100px" style="border:1px solid #ccc" AutoUpdateAfterCallBack="true"></anthem:TextBox></td>
                                <%-- <td><anthem:TextBox ID="Jcsj" runat="server" Text='<%# Eval("Jcsj")%>' Width="80px" style="border:1px solid #ccc" AutoUpdateAfterCallBack="true"></anthem:TextBox></td>--%>
                                 <td><anthem:CalendarExt runat="server" ID="Jcsj"  style="border:1px solid #ccc" AutoUpdateAfterCallBack="true" /></td>
                                <td><anthem:TextBox ID="Sl" runat="server" Text='<%# Eval("Sl")%>' Width="70px" style="border:1px solid #ccc" AutoUpdateAfterCallBack="true"></anthem:TextBox></td>
                                <td><anthem:TextBox ID="Sldw" runat="server" Text='<%# Eval("Sldw")%>' Width="70px" style="border:1px solid #ccc" AutoUpdateAfterCallBack="true"></anthem:TextBox></td>
                                <td><anthem:TextBox ID="Syfh" runat="server" Text='<%# Eval("Syfh")%>' Width="70px" style="border:1px solid #ccc" AutoUpdateAfterCallBack="true"></anthem:TextBox></td>
                                <td><anthem:TextBox ID="Bz" runat="server" Text='<%# Eval("Bz")%>'  style="border:1px solid #ccc" AutoUpdateAfterCallBack="true"></anthem:TextBox></td>
                            </tr>
                        </ItemTemplate>
                        <FooterTemplate>
                            </table>
                        </FooterTemplate>
                    </anthem:Repeater>
                </td>
            </tr>
            <tr>
            <td>
                <anthem:Button ID="detailsAdd" runat="server" AutoUpdateAfterCallBack="true" Text="添加行" EnableCallBack="true" OnClick="AddDelete_Click"  style="background:url('../../Resource/Images/Icon_ButtonBg.gif') 0px -12px; border:1px solid #FCC245; padding-top:2px; cursor:pointer;height:22px;width:60px;margin-right:4px;margin-top:4px;margin-bottom:4px;"/>&nbsp;&nbsp;
                <anthem:Button ID="detailsDel" runat="server" AutoUpdateAfterCallBack="true" Text="删除行" EnableCallBack="true" OnClick="AddDelete_Click"  style="background:url('../../Resource/Images/Icon_ButtonBg.gif') 0px -12px; border:1px solid #FCC245; padding-top:2px; cursor:pointer;height:22px;width:60px;margin-right:4px;margin-top:4px;margin-bottom:4px;"/>                        
            </td>
        </tr> 

        </table>

    </fieldset>
    </anthem:Panel>

    <uc1:assessmentext ID="AssExt" runat="server" OnSaveAsDraft="SaveAsDraft_Click" OnSend="Send_Click" OnAborted="Aborted_Click"/>
    <%=Postfix%>

    </form>
</body>
</html>

